//
//  HNSH_RechargeHeader.m
//  HNSH_SingleProject
//
//  Created by 李宇廷 on 2023/6/26.
//

#import "HNSH_RechargeHeader.h"

@interface HNSH_RechargeHeader ()

@end

@implementation HNSH_RechargeHeader

- (instancetype)initWithReuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithReuseIdentifier:reuseIdentifier];
    if (self) {
        [self configUI];
        self.contentView.backgroundColor = [UIColor appWhiteLabelColor];
    }
    return self;
}

- (void)configUI {
    [self.contentView addSubview:self.leftLabel];
    
    [self.leftLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(22);
        make.left.mas_equalTo(16);
        make.height.mas_equalTo(22);
    }];
}

- (UILabel *)leftLabel {
    if (!_leftLabel) {
        _leftLabel = [[UILabel alloc]init];
        _leftLabel.text = @"";
        _leftLabel.textColor = [UIColor appBlackLabelColor];
        _leftLabel.font = [UIFont boldSystemFontOfSize:16];
    }
    return _leftLabel;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
